package gui;

import java.awt.BorderLayout;
import java.awt.FlowLayout;

import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import java.awt.GridBagConstraints;
import java.awt.Insets;
import javax.swing.JLabel;
import java.awt.Font;

public class VListaRepNueva extends JDialog {

	private final JPanel contentPanel = new JPanel();

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		try {
			VListaRepNueva dialog = new VListaRepNueva();
			dialog.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
			dialog.setVisible(true);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

	/**
	 * Create the dialog.
	 */
	public VListaRepNueva() {
		setBounds(100, 100, 449, 343);
		getContentPane().setLayout(new BorderLayout());
		contentPanel.setLayout(new FlowLayout());
		contentPanel.setBorder(new EmptyBorder(5, 5, 5, 5));
		getContentPane().add(contentPanel, BorderLayout.CENTER);
		{
			VDatosVideoLista datosVideoLista = new VDatosVideoLista();
			contentPanel.add(datosVideoLista);
			{
				JLabel lblListaDeReproduccin = new JLabel("LISTA DE REPRODUCCI\u00D3N NUEVA");
				lblListaDeReproduccin.setFont(new Font("Tahoma", Font.BOLD, 18));
				GridBagConstraints gbc_lblListaDeReproduccin = new GridBagConstraints();
				gbc_lblListaDeReproduccin.gridwidth = 4;
				gbc_lblListaDeReproduccin.insets = new Insets(0, 0, 5, 5);
				gbc_lblListaDeReproduccin.gridx = 0;
				gbc_lblListaDeReproduccin.gridy = 0;
				datosVideoLista.add(lblListaDeReproduccin, gbc_lblListaDeReproduccin);
			}
			{
				JPanel buttonPane = new JPanel();
				GridBagConstraints gbc_buttonPane = new GridBagConstraints();
				gbc_buttonPane.anchor = GridBagConstraints.SOUTH;
				gbc_buttonPane.gridwidth = 2;
				gbc_buttonPane.gridx = 2;
				gbc_buttonPane.gridy = 4;
				datosVideoLista.add(buttonPane, gbc_buttonPane);
				buttonPane.setLayout(new FlowLayout(FlowLayout.RIGHT));
				{
					JButton okButton = new JButton("OK");
					okButton.setActionCommand("OK");
					buttonPane.add(okButton);
					getRootPane().setDefaultButton(okButton);
				}
				{
					JButton cancelButton = new JButton("Cancel");
					cancelButton.setActionCommand("Cancel");
					buttonPane.add(cancelButton);
				}
			}
		}
	}

}
